package com.ibeetl.cms.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.cms.entity.*;

/**
 * TelentCard Dao
 */
@SqlResource("cms.telentCard")
public interface TelentCardDao extends BaseMapper<TelentCard>{
    public PageQuery<TelentCard> queryByCondition(PageQuery query);
    public void batchDelTelentCardByIds( List<Long> ids);

    TelentCard findCard(Long userId);

    TelentCard findStartCard(Long userId);

    TelentCard findCardForApp(String cardNumber);
}